import random
import turtle as t

def rand_site():
    i, j = random.randint(-300, 200), random.randint(-300, 200)
    t.up()
    t.goto(i, j)
    t.down()

def draw_heart():
    rand_site()
    t.color(random.randint(0, 255), random.randint(0, 255), random.randint(0, 255))
    t.begin_fill()
    t.seth(0)
    t.lt(135)
    t.fd(100)
    t.right(180)
    t.circle(50, -180)
    t.left(90)
    t.circle(50, -180)
    t.right(180)
    t.fd(100)
    t.end_fill()

def draw_square():
    rand_site()
    t.color(random.randint(0, 255), random.randint(0, 255), random.randint(0, 255))
    t.seth(0)
    t.forward(100)
    t.right(90)
    t.forward(100)
    t.right(90)
    t.forward(100)
    t.right(90)
    t.forward(100)

def draw_circle():
    rand_site()
    t.color(random.randint(0, 255), random.randint(0, 255), random.randint(0, 255))
    t.seth(0)
    t.width(3)
    t.circle(100)


t.setup(800, 600)
t.colormode(255)
t.bgcolor(240,240,240)

draw_heart()
draw_square()
draw_circle()

t.hideturtle()
t.done()
